package com.himooc.jdk8.lambda;

import java.time.LocalTime;

import org.junit.Test;

/**
 * 测试LocalTime
 * 
 * @author David Chen
 *
 */
public class TestLocalTime {
	
	@Test
	public void testLocalTime() {
		LocalTime time = LocalTime.now();
		
		System.out.print(time.getHour() + "时");
		System.out.print(time.getMinute() + "分");
		System.out.println(time.getSecond() + "秒");
		
		System.out.println(time.toString());
	}

}
